import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';


const routes: Routes = [
  {path: 'online-exam', loadChildren: () => import('./online-exam/online-exam.module').then(m => m.OnlineExamModule)},
  {path: 'my-grades', loadChildren: () => import('./my-grades/my-grades.module').then(m => m.MyGradesModule)},
  {path: '', redirectTo: 'online-exam', pathMatch: 'full'},
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class OnlineTestRoutingModule {
}
